Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  User  Account  Information  

 Content of List User Account Information.ps1
MD5 Hash: 2213A7E48CE841E3A8FF8E66CC8BECC0
$strComputer = "."

$colItems = get-wmiobject -class "Win32_UserAccount" -namespace "root\CIMV2" `
-filter "LocalAccount = True" -computername $strComputer

foreach ($objItem in $colItems) {
write-host "Account Type: " $objItem.AccountType
write-host "Caption: " $objItem.Caption
write-host "Description: " $objItem.Description
write-host "Disabled: " $objItem.Disabled
write-host "Domain: " $objItem.Domain
write-host "Full Name: " $objItem.FullName
write-host "Installation Date: " $objItem.InstallDate
write-host "Local Account: " $objItem.LocalAccount
write-host "Lockout: " $objItem.Lockout
write-host "Name: " $objItem.Name
write-host "Password Changeable: " $objItem.PasswordChangeable
write-host "Password Expires: " $objItem.PasswordExpires
write-host "Password Required: " $objItem.PasswordRequired
write-host "SID: " $objItem.SID
write-host "SID Type: " $objItem.SIDType
write-host "Status: " $objItem.Status
write-host
}


   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a